package com.wenhua.junshao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wenhua.junshao.dot.SetmealDto;
import com.wenhua.junshao.entity.Setmeal;

import java.net.ConnectException;

public interface SetmealService extends IService<Setmeal> {

    /**
     * 新增套餐，同时需要保存套餐和菜品的关联关系
     */
    void saveWithDish(SetmealDto setmealDto);

    void removeWithDish(Long[] ids) throws ConnectException;
}
